Allow activating the desktop portal for inhibit
authorMatthias Clasen <mclasen@redhat.com>
Wed, 24 Aug 2016 14:54:00 +0000 (10:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 24 Aug 2016 14:55:44 +0000 (10:55 -0400)
We allow it everywhere else, and there is nothing wrong with it.

gtk/gtkapplication-dbus.c

index 9204af91adf5362c009211b05c6ead4f53034e51..6c2be716eeefb8a8ca3be1bef539a3709c27c09b 100644 (file)
@@ -322,7 +322,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
   if (dbus->sm_proxy == NULL)
     {
       dbus->inhibit_proxy = gtk_application_get_proxy_if_service_present (dbus->session,
-                                                                          G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
+                                                                          G_DBUS_PROXY_FLAGS_NONE,
                                                                           "org.freedesktop.portal.Desktop",
                                                                           "/org/freedesktop/portal/desktop",
                                                                           "org.freedesktop.portal.Inhibit",